package com.oceansoft.core.jxkh.dao;

import com.oceansoft.core.common.util.Pagination;
import com.oceansoft.core.domain.Person;
import com.oceansoft.core.domain.SysUser;
import com.oceansoft.core.jxkh.domain.Personnel;

import java.util.HashMap;
import java.util.List;

/**
 * Created by OS on 2017/12/5.
 */
public interface IPersonnelDao {
    Pagination findAllPersonnel(HashMap<String,String> map);
    void editPersonnelInfo(SysUser sysUser);
    SysUser findPersonnelInfoByDbid(int dbid);
    void deletePersonnelInfoByDbid(int dbid);
    Pagination findPersonnelInfoByDeptId(HashMap<String,String> map);
    void editDeptManagerByDbidToYes(int dbid);
    void editDeptManagerToNo(int deptId);
    void editJoinCheck(int dbid,int i);
    void editActiveFlag(int dbid,int i);
    int findJoinCheck(int dbid);
    int findActiveFlag(int dbid);
}
